<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<title>线上笔试答题系统</title>
	<link rel="stylesheet" href="./styles/css/common.css">
	<link rel="stylesheet" href="./styles/css/index.css">
	<style>
		body {
			background-color: #ebf5ff
		}

		.dtjg_top .top_xm {
			display: block;
			float: left;
			max-width: 88px;
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
		}
	</style>
</head>

<body class="home">
	<script src="http://rsj.beijing.gov.cn/images/rsj_header.js"></script>
	<include src="./include/header.html"></include>

	<div class="wrap">
		<div class="clearfix" id="nav_wrap">
			<script type="text/html" id="nav_tem">
				<% var _Data = data.grsjxx%>
				<div class="dtjg_top">

					<div class="top">
						<span class="top_xm"><%=_Data.xm%></span>
						(<span><%=_Data.sfzhm%></span>)
						<span style="margin-left:25px"><%=_Data.gwmc%></span>
					</div>
					<div class="bottom">
						<ul>
							<%for(var i=0;i<_Data.gwwd.length;i++){%>
							<% var _item = _Data.gwwd[i]%>
							<li><%=_item.gwwdmc%>：<span><%=_item.dtjg%></span></li>
							<%}%>
                </ul>
            </div>
        </div>
			</script>
		</div>

	</div>

	<script src="http://rsj.beijing.gov.cn/footer.js"></script>

	<script src="./common/vendor.js"></script>
	<script src="./common/common.js"></script>
	<script src="./common/generaltools.js"></script>
	<script>
		$(function () {
			var Load = new $.Loading();
			var gwwhid = $.paramObj() && $.paramObj().gwwhid; //岗位维度
			var pageNum = 0;
			$.showPlaceholder();

			// tab切换

			// 首页分页器
			// searchCx(_name);
			// Load.on()
			getInfo(gwwhid)

			function getInfo(gwwhid) {
				Load.on()
				$.asyncRender({
					url: '/zxwmsgj/grstxxCx?gwwhid=' + gwwhid,
					type: 'get',
					wrap: '#nav_wrap',
					tem: '#nav_tem',
					pos: 'returnData',
				}).done(function (res) {
					var res = res.returnData;
					Load.off();
					if (res.executeResult == 1) {


					} else {
						$.layerMsg(res.message, '我知道了');
					}
				})
			}


		});
	</script>
</body>

</html>
